{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "caf11d1f",
   "metadata": {},
   "outputs": [],
   "source": [
    "import os \n",
    "from os.path import join, dirname, abspath  \n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "aa5c9317",
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "\n",
    "\n",
    "\n",
    "data = np.load('/share/project/cwm/shaocong.xu/exp/Metric3D/logs/vit.raft5.giant2/20250604_144321/vis/david-kohler-VFRTXGw1VjU-unsplash.jpg.npy')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "1cc9a53b",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(875, 1200) 110.701515 3.4110978 23.628077 20.600378\n"
     ]
    }
   ],
   "source": [
    "print(data.shape,data.max(), data.min(), data.mean(), data.std())\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "94f5d557",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(1200, 875)"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "src ='/share/project/cwm/shaocong.xu/exp/Metric3D/data/wild_demo/david-kohler-VFRTXGw1VjU-unsplash.jpg'\n",
    "import cv2\n",
    "from PIL import Image\n",
    "\n",
    "img = Image.open(src)\n",
    "img.size"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.15"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
